package com.ruoyi.financial.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 码对象 f_code
 *
 * @author ruoyi
 * @date 2025-02-06
 */
public class FCode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 年份 */
    @Excel(name = "年份")
    private Integer year;

    /** 码 */
    @Excel(name = "码")
    private Integer code;

    /** 生肖 */
    @Excel(name = "生肖")
    private String zodiac;

    @Excel(name = "代码")
    private String zodiacCode;

    /** 颜色 */
    @Excel(name = "颜色")
    private String color;

    /** 单双 */
    @Excel(name = "单双")
    private Integer sod;

    /** 大小 */
    @Excel(name = "大小")
    private Integer size;

    /**
     * 五行
     */
    @Excel(name = "五行")
    private String fiveElements;

    @Excel(name = "头")
    private Integer head;

    @Excel(name = "尾")
    private Integer tail;

    /** 逻辑删除 */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setYear(Integer year)
    {
        this.year = year;
    }

    public Integer getYear()
    {
        return year;
    }
    public void setCode(Integer code)
    {
        this.code = code;
    }

    public Integer getCode()
    {
        return code;
    }
    public void setZodiac(String zodiac)
    {
        this.zodiac = zodiac;
    }

    public String getZodiac()
    {
        return zodiac;
    }
    public void setColor(String color)
    {
        this.color = color;
    }

    public String getColor()
    {
        return color;
    }
    public void setSod(Integer sod)
    {
        this.sod = sod;
    }

    public Integer getSod()
    {
        return sod;
    }
    public void setSize(Integer size)
    {
        this.size = size;
    }

    public Integer getSize()
    {
        return size;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public String getZodiacCode() {
        return zodiacCode;
    }

    public void setZodiacCode(String zodiacCode) {
        this.zodiacCode = zodiacCode;
    }

    public String getFiveElements() {
        return fiveElements;
    }

    public void setFiveElements(String fiveElements) {
        this.fiveElements = fiveElements;
    }

    public Integer getHead() {
        return head;
    }

    public void setHead(Integer head) {
        this.head = head;
    }

    public Integer getTail() {
        return tail;
    }

    public void setTail(Integer tail) {
        this.tail = tail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("year", getYear())
            .append("code", getCode())
            .append("zodiac", getZodiac())
            .append("color", getColor())
            .append("sod", getSod())
            .append("size", getSize())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
